package app;

public class Configuration {
	private static Configuration instance = null;
	
	/**
	 * Opis
	 */
	private double denseToDiscreteStep;
	
	/**
	 * Path to current database file.
	 */
	private String databaseFile;
	
	protected Configuration() {
		//
	}
	
	public static Configuration getInstance() {
		if (instance == null) {
			instance = new Configuration();
		}
		return instance;
	}
	
	
	public void setDenseToDiscreteStep(double step) {
		denseToDiscreteStep = step;
	}
	
	public double getDenseToDiscreteStep() {
		return denseToDiscreteStep;
	}
	
	public void setDatabaseFile(String path) {
		databaseFile = path;
	}
	
	public String getDatabaseFile() {
		return databaseFile;
	}
}
